function createSplitContainer(name)
{
    if(!dijit.byId(name+'BorderContainer'))
    {
        var bc = new dijit.layout.BorderContainer({
            id:name+'BorderContainer',
            design:'sidebar',
            gutters:true,
            liveSplitters:true,	
            style:'border: 0px; height: 400px;' 
        });
        
        var center = new dijit.layout.ContentPane({id: "bc"+name+"Form", region: "center", splitter: true, style:"padding: 0px;"});
        bc.addChild(center);
        
        var top = new dijit.layout.ContentPane({id: "bc"+name+"Grid", region: "top", splitter: true, style:"padding: 0px; height:200px;"});
        bc.addChild(top);
        
        top.set('content', 'top');
        center.set('content', 'bottom');
        
        bc.startup();
        bc.layout();
        
//        var myCenter= dijit.byId("myCenter");
//        myCenter.set('content', bc);
        return bc;
    }
}

